/*
 * @Description: 
 * @Version: 2.0
 * @Author: , // 文件作者
 * @Date: 2023-07-03 22:44:48
 * @LastEditors: liujinkai
 * @LastEditTime: 2023-07-06 18:40:47
 */
/*
 * @Description: 
 * @Version: 2.0
 * @Author: , // 文件作者
 * @Date: 2023-07-03 22:44:48
 * @LastEditors: liujinkai
 * @LastEditTime: 2023-07-04 22:05:41
 */
import Vue from 'vue'
import VueRouter from 'vue-router'


Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'admin',
    component: () => import( '@/views/admin/login.vue')
  },{
    path: '/Home',
    name: 'Home',
    component: () => import( '@/views/home/index.vue')
  }

]

const router = new VueRouter({
  mode: 'hash',
  base: process.env.BASE_URL,
  routes
})

export default router
